package br.com.ac.fatureweb.integration.model;

import java.io.Serializable;

public class TarifaSocialVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8138626057652082530L;

	private Long id;

	private Long inscricao;

	private Long consumoMinimo;

	private Long codigoTarifaSocial;

	public TarifaSocialVO() {
		super();
	}

	public TarifaSocialVO(Long id, Long inscricao, Long consumoMinimo,
			Long codigoTarifaSocial) {
		super();
		this.id = id;
		this.inscricao = inscricao;
		this.consumoMinimo = consumoMinimo;
		this.codigoTarifaSocial = codigoTarifaSocial;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (!(obj instanceof TarifaSocialVO)) {
			return false;
		}
		TarifaSocialVO other = (TarifaSocialVO) obj;
		if (id == null) {
			if (other.id != null) {
				return false;
			}
		} else if (!id.equals(other.id)) {
			return false;
		}
		return true;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the inscricao
	 */
	public Long getInscricao() {
		return inscricao;
	}

	/**
	 * @param inscricao
	 *            the inscricao to set
	 */
	public void setInscricao(Long inscricao) {
		this.inscricao = inscricao;
	}

	/**
	 * @return the consumoMinimo
	 */
	public Long getConsumoMinimo() {
		return consumoMinimo;
	}

	/**
	 * @param consumoMinimo
	 *            the consumoMinimo to set
	 */
	public void setConsumoMinimo(Long consumoMinimo) {
		this.consumoMinimo = consumoMinimo;
	}

	/**
	 * @return the codigoTarifaSocial
	 */
	public Long getCodigoTarifaSocial() {
		return codigoTarifaSocial;
	}

	/**
	 * @param codigoTarifaSocial
	 *            the codigoTarifaSocial to set
	 */
	public void setCodigoTarifaSocial(Long codigoTarifaSocial) {
		this.codigoTarifaSocial = codigoTarifaSocial;
	}

}
